<!DOCTYPE html>
<html>
<head>
  <title>Central Circuit</title>
  <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
  <![endif]-->
  <%= stylesheet_link_tag    "application", :media => "all" %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tags %>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>

<body>

			
			
			<div class="navbar navbar-fixed-top">
			  <div class="navbar-inner">
			    <div class="container">
			      <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
			        <span class="icon-bar"></span>
			        <span class="icon-bar"></span>
			        <span class="icon-bar"></span>
			      </a>
			      <a class="brand" href="#"></a>
			      <div class="nav-collapse">
			        <ul class="nav">
					  <li><%=link_to(image_tag("http://www.seattlecentralcircuit.com/images/logo.jpg", :height => 25, :width => 250),root_path)%></li>
			          <li ><%= link_to "News" %></li>
			          <li ><%= link_to "Columns" %></li>
			          <li ><%= link_to "The Arts!" %></li>
			          <li ><%= link_to "Calendar" %></li>
			          <li ><%= link_to "Advertise" %></li>
			
			        <li><div id="user_nav" class=".pull-right"> 
					<% if current_user %>
					    Signed in as <strong>-<%= current_user.name %>-</strong><%= image_tag(current_user.me_facebook, :height => 40, :width => 45 ,:class => "img-circle")%>
					    <%= link_to "Sign out", signout_path, id: "sign_out" ,:class => 'btn btn-danger'%>
					  <% else %>
					    <%= link_to "Sign in with Facebook", "/auth/facebook", id: "sign_in",:class => 'btn btn-primary' %>
					  <% end %>
					</div></li>
					
			        </ul>
			      </div>
			    </div>
			  </div>
			</div>
			
			
			<div id="page_wrap">
			<div id="content_wrap">
			
			
			
			
			</br></br>
			<%if current_user%>
			<%= image_tag(current_user.friend_picture)%>
			<%#= current_user.friend_picture% 	for seeing the json object>  
			<%else%>
			<%nil%>
			<%end%>
			
			<%= render :partial => "shared/sponsors" %>
			
			<div class="span7">  
				<%= yield %>
		    </div>
			
			
		</div>
	</div>
</body>
</html>
